﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="BOH.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>上海市卫生人才评审系统</title>
    <link href="style/loginStyle.css" type="text/css" rel="Stylesheet" />

    <script src="js/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="js/login.js" type="text/javascript"></script>

    <script src="js/Validate.js" type="text/javascript"></script>

    <script src="js/common.js" type="text/javascript"></script>

    <link href="style/jquery.msgbox.css" type="text/css" rel="Stylesheet" />

    <script src="js/jquery.msgbox.min.js" type="text/javascript"></script>

    <script src="js/jquery.dragndrop.min.js" type="text/javascript"></script>

    <script>
    
        function ChangeUserLabel(obj) {
            if (obj.checked && obj.id == "radioUnitLogin") {
                $("#spanUserNameLabel").text("用户名:");
            }
            else {
                $("#spanUserNameLabel").text("身份证:");
            }
        }
        function ShowDialog(URL)
        {
            window.open(URL,'信息公示',"height=600, width=500,toolbar=no, menubar=no, scrollbars=auto")
        }
    </script>

</head>
<body background="images/l_bg.gif" style="padding: 0; margin: 0; border: 0; font-size: 12px;
    background-repeat: repeat-x;">
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="50%" valign="top">
                <table width="237" style="margin: 253px 0 0 513px; line-height: 15px" border="0"
                    cellspacing="0" cellpadding="0">
                    <tr>
                        <td colspan="2">
                            <div style="color: Red; height: 20px;">
                                <asp:Label ID="labError" runat="server"></asp:Label></div>
                        </td>
                    </tr>
                    <tr>
                        <td width="79" align="left" valign="middle">
                            <span id="spanUserNameLabel">用户名：</span>
                        </td>
                        <td width="158" align="left" valign="middle">
                            <asp:TextBox ID="txtUserID" runat="server" Width="150px" CssClass="textbox" onclick="changeClass(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="middle" style="padding-top:5px;">
                            密&nbsp;&nbsp;&nbsp;&nbsp;码：
                        </td>
                        <td align="left" valign="middle" style="padding-top:5px;">
                            <asp:TextBox ID="txtPassword" TextMode="Password" runat="server" Width="150px" CssClass="textbox"
                                onclick="changeClass(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="middle" style="padding-top:5px;">
                            用户类别：
                        </td>
                        <td align="left" valign="middle" style="padding-top:5px;">
                            <asp:RadioButton ID="radioUnitLogin" runat="server" Text="单位用户" Checked="true" GroupName="radionLogin"
                                onclick="ChangeUserLabel(this)" />&nbsp;&nbsp;<asp:RadioButton ID="radioPersonLogin"
                                    runat="server" Text="个人用户" GroupName="radionLogin" onclick="ChangeUserLabel(this)" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center" style="padding-top:15px;">
                            <a href="#" onmouseover="document.getElementById('imgButOK').src='images/btn_login_on.gif'"
                                onmouseout="document.getElementById('imgButOK').src='images/btn_login.gif'">
                                <asp:ImageButton ID="imgButOK" runat="server" ImageUrl="images/btn_login.gif" Width="71"
                                    Height="20" OnClientClick="return validLogin()" OnClick="butOK_Click" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a
                                        href="#" onmouseover="document.getElementById('acd').src='images/btn_logoff_on.gif'"
                                        onmouseout="document.getElementById('acd').src='images/btn_logoff.gif'"><img style="border: 0"
                                            id="acd" src="images/btn_logoff.gif" width="71" height="20" onclick="window.close()" /></a>
                        </td>
                    </tr>
                </table>
            </td>
            <td width="50%" valign="top">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr align="right">
                        <td valign="top">
                            <div id="login_width" style="text-align: right;">
                                <div id="login_title" style="background-color: #009966;">
                                </div>
                                <div id="login_body">
                                    <div id="login_title_text">
                                        公示信息</div>
                                    <div id="login_body_content" style="overflow-y: auto; text-align: left">
                                        <asp:Repeater ID="repInfo" runat="server">
                                            <HeaderTemplate>
                                                <ul>
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <li style="padding-top:5px;"><a href="#" onclick="ShowDialog('ShowInfo.aspx?ID=<%#Eval("Notify_id")%>')">
                                                    <%#Eval("Notify_Title")%></a> </li>
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                </ul>
                                            </FooterTemplate>
                                        </asp:Repeater>
                                    </div>
                                </div>
                                <div id="login_btm">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr align="center">
                        <td valign="top">
                            <div id="login_width">
                                <div id="login_title" style="background-color: #009966;">
                                </div>
                                <div id="login_body">
                                    <div id="login_title_text">
                                        文档下载</div>
                                    <div id="login_body_content" style="overflow-y: auto;">
                                        <asp:Repeater ID="repDoc" runat="server">
                                            <HeaderTemplate>
                                                <ul>
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <li style="padding-top:5px;"><a href="<%#Eval("Notify_Context")%>">
                                                    <%#Eval("Notify_title")%></a> </li>
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                </ul>
                                            </FooterTemplate>
                                        </asp:Repeater>
                                    </div>
                                </div>
                                <div id="login_btm">
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
